import React, { Component } from 'react'; //eslint-disable-line
import ReactDOM from 'react-dom';
import { fn1 } from './utils/util'; //eslint-disable-line
import '../style/main.less';

class MyComp extends Component {  //eslint-disable-line
  render() {
    return (
      <div className="box">{this.props.text}</div>
    );
  }
}
fn1();
ReactDOM.render(
  <MyComp text="This is a text."/>,
  document.getElementById('app')
);
